<?php
namespace app\Admin\model;

use think\Db;
use think\Model;

class Comments extends Model
{
	public function get_CommentsList($where = '')
	{
		return Db::name('comments')->where($where)->select();
	}

	public function Del_CommentsDel($id)
	{
		return Db::table('tp_comments')->where(array('id'=>$id))->delete();
	}
}